package com.pipi.sso.core.service;

import com.pipi.sso.core.model.DormitoryRoomBO;
import com.pipi.sso.dao.support.PageResult;

import java.util.List;

/**
 * All rights Reserved, Designed By www.maihaoche.com
 *
 * @Package com.pipi.sso.core.service
 * @date: 2019/4/14 5:39 PM
 * @Copyright: 2017-2020 www.maihaoche.com Inc. All rights reserved.
 */
public interface DormitoryRoomService {

    /**
     * <p> 分页条件查询 </p>
     * @param dormitoryRoomBO
     * @return PageResult<DormitoryRoomBO>
     * @throws
     * @date 2019/4/14 5:41 PM
     */
    PageResult<DormitoryRoomBO> queryByPaged(DormitoryRoomBO dormitoryRoomBO);

    /**
     * <p> 条件查询 </p>
     * @param dormitoryRoomBO
     * @return List<DormitoryRoomBO>
     * @throws
     * @date 2019/4/14 5:43 PM
     */
    List<DormitoryRoomBO> queryNoPaged(DormitoryRoomBO dormitoryRoomBO);

    /**
     * <p> 添加宿舍 </p>
     * @param dormitoryRoomBO
     * @return void
     * @throws
     * @date 2019/4/14 5:59 PM
     */
    void addDormitoryRoom(DormitoryRoomBO dormitoryRoomBO);

    /**
     * <p> 更新宿舍 </p>
     * @param dormitoryRoomBO
     * @return void
     * @throws
     * @date 2019/4/14 8:09 PM
     */
    void updateDormitoryRoom(DormitoryRoomBO dormitoryRoomBO);

    /**
     * <p> 删除宿舍 </p>
     * @param dormitoryRoomIds
     * @return void
     * @throws
     * @date 2019/4/14 8:39 PM
     */
    void deleteDormitoryRoom(List<Long> dormitoryRoomIds);
}
